box.schema.role.exists()
-
box.schema.role.exists(role-name) Return
trueif a role exists; returnfalseif a role does not exist.Parameters: - role-name (string) – the name of the role
Rtype: bool
Example:
box.schema.role.exists('Accountant')
__gc metamethod
boxbox.statbox.cfgbox.ctl
box.error
box.indexbox.index
box.info
box.schemabox.sessionbox.slab
box.spacebox.tuplebox.oncebox.snapshotbox.NULL
bufferclock
console
crypto
csv
digest
errno
fiber
fio
funhttp
iconv
json
log
msgpack
net.box
os
pickle
socket
strictstring
tabletap
tarantooluuid
utf8
uri
xlogyaml
expirationdmembership
vshard
tarantoolctl
libslave tutorialbox.schema.role.exists(role-name)Return true if a role exists; return false if a role does not exist.
| Parameters: |
|
|---|---|
| Rtype: | bool |
Example:
box.schema.role.exists('Accountant')